package cn.wolfcode.car.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Getter
@Setter
public class Employee {
    /** */
    private Long id;

    /** */
    private String name;

    /** */
    private String email;

    /** */
    private Integer age;//年龄

    /** */
    private Integer admin;//超管

    private Integer sex;//性别

    /** */
    private Integer status;//状态

    /** */
    private Long deptId;//部门

    /** */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date hiredate;//时间


    private Department department;
    //书记字典
    private String lable;
    private String lables;//超管


}